//
//  BLTimeAxisData.h
//  BLTimeAxis
//
//  Created by dg on 2025/4/17.
//

#import <Foundation/Foundation.h>
#import "BLTimeAxisComponent.h"
NS_ASSUME_NONNULL_BEGIN
/** 时间轴上的段数据
 */
@interface BLTimeAxisData : NSObject<BLTimeAxisComponent>

@property(nonatomic, assign) NSTimeInterval startTimeInterval;
@property(nonatomic, assign) NSTimeInterval duration;

@property(nonatomic, readonly, assign) NSTimeInterval endTimeInterval;

@property(nonatomic, strong) UIColor *strokeColor;
@property(nonatomic, assign) CGFloat strokeSize;

@property(nonatomic, strong) id data;


- (void)acceptVisitor:(id<BLTimeAxisVisitor>)visitor;

- (id)copyWithZone:(nullable NSZone *)zone;
@end

NS_ASSUME_NONNULL_END
